//================================================================
// 전역 번수 설정
//================================================================
var m_ContextName = "/";

var m_isOpen = false;

var m_RootType = "";
var m_RootText = "";
var m_RootUrl = "";
//================================================================





//================================================================
// Util Function
//================================================================
function fnInitPage(strContext, strRootType, strRootText)
{
	m_ContextName = strContext;	
	
	if (strRootText != '')
	{
		m_isOpen = true;
		
		if (strRootType == '1')
		{
			m_RootType = '1';
			m_RootText = strRootText + '(분석전)';
			m_RootUrl = m_ContextName + '/analysis/ajax_tree_normal.json';
		}
		else
		{
			m_RootType = '2';
			m_RootText = strRootText + '(Scan완료)';
			m_RootUrl = m_ContextName + '/analysis/ajax_tree_analysis.json';		
		}
	}
	else
	{
		m_RootText = "Don't Connect.";
	}	
}


